package com.qiaomengapp.service;

import java.util.Date;
import java.util.List;
import com.qiaomengapp.bean.Color;
import com.qiaomengapp.bean.GoodTypelevel1;
import com.qiaomengapp.bean.GoodTypelevel2;
import com.qiaomengapp.bean.ProviderGood;
import com.qiaomengapp.bean.ShopGood;
import com.qiaomengapp.bean.ShopGoodWrap;
import com.qiaomengapp.bean.Size;
import com.qiaomengapp.exception.CustomException;

public interface IShopGoodService {
	void update_statusTo1(int shit_id) throws CustomException;

	void update_launch_time(int id) throws CustomException;

	void update_statusTo2(int shit_id) throws CustomException;

	List<ShopGood> select_ShopGood(int shop_id) throws CustomException;

	List<ShopGood> select_ShopGoodBySaleCount(int shop_id) throws CustomException;

	List<ShopGood> select_ShopGoodByCommission(int shop_id) throws CustomException;

	List<ShopGood> select_ShopGoodByPrice(int shop_id) throws CustomException;

	List<ShopGood> select_ShopGoodByfocus_num(int shop_id) throws CustomException;

	List<GoodTypelevel1> select_GoodTypelevel1() throws CustomException;

	List<GoodTypelevel2> select_GoodTypelevel2(int id) throws CustomException;

	List<ShopGood> select_G2_good(int id) throws CustomException;

	void delete_shopGood(int shopGoodId) throws CustomException;

	ShopGoodWrap select_ShopGoodWrap(int id) throws CustomException;

	void insert_Good(ProviderGood pro, int userId) throws CustomException;

	void insert_user_focus(int user_id, int shop_good_id) throws CustomException;

	void update_shopGoodFocusNum(int id) throws CustomException;

	void insert_shop(int user_id, int shop_id) throws CustomException;

	void update_shop_addcollectNum(int id) throws CustomException;

	List<Color> select_color() throws CustomException;

	List<Size> select_size() throws CustomException;

	int select_shopGoodNum(int shop_id) throws CustomException;

	List<Date> select_launchTime() throws CustomException;

	int select_shopGoodByTime(String time);

	// 显示待售的商品
	List<ShopGood> select_ShopGoodStatus2(int shop_id)throws CustomException;
}
